//
//  ViewController.m
//  WHStudyDemo
//
//  Created by GeDaTing on 2021/8/26.
//

#import "ViewController.h"
#import <WHStudy/WHStudy.h>

@interface ViewController ()

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event
{
    [self localizableTest];
}
//国际化测试
- (void)localizableTest{
    NSString *str = [NSString whs_localizableWithKey:@"network_exception_please_check"];
    NSString *str2 = [NSString whs_localizableWithCode:10000];
    NSString *str3 = WHSLocalizableKeyString(@"network_exception_please_check");
    NSString *str4 = WHSLocalizableCodeString(10000);
    
    NSLog(@"str: %@, str2: %@, str3: %@, str4: %@", str, str2, str3, str4);
}



@end
